package com.lzw.breezeNovel.webApp.service.video;

import com.lzw.breezeNovel.model.entity.query.PaginationResultQuery;
import com.lzw.breezeNovel.model.entity.query.video.CommnetQuery;
import com.lzw.breezeNovel.webApp.vo.video.VideoCommentVo;

import java.util.List;

/**
 * @author 清风明月
 * @Package com.lzw.breezeNovel.webApp.service.video
 * @date 2025/3/19
 * @description
 */
@SuppressWarnings("all")
public interface VideoCommentService {

    /**
     * 查询评论
     * @param commnetQuery
     * @return
     */
    List<VideoCommentVo> list(CommnetQuery commnetQuery);

    /**
     * 添加评论
     *
     * @param type
     * @param content
     * @param videoId
     */
    void add(Integer type, String content, Long videoId);

    /**
     * 查询用户评论
     * @return
     */
    PaginationResultQuery<VideoCommentVo> listByUserId(Integer pageNo, Integer size);

    /**
     * 删除评论
     * @param commentId
     */
    void delete(Long commentId);
}
